package com.SimpleFactory.factory;

import com.SimpleFactory.fruit.Fruit;
import com.SimpleFactory.impl.Apple;
import com.SimpleFactory.impl.Banan;

public class FruitFactory {
    public static Fruit getApple(){
        return new Apple();
    }

    public static Fruit getBanan(){
        return new Banan();
    }

}
